package com.CmJava.entity.comment;


import com.baomidou.mybatisplus.annotation.TableName;

@TableName("blog_comments")
public class CommentMysqlForBlog {
    private int id;
    private int blogId;
    private int commentNum;
    private String commentKey;

    public CommentMysqlForBlog() {
    }

    public CommentMysqlForBlog(int id, int blogId, int commentNum, String commentKey) {
        this.id = id;
        this.blogId = blogId;
        this.commentNum = commentNum;
        this.commentKey = commentKey;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getBlogId() {
        return blogId;
    }

    public void setBlogId(int blogId) {
        this.blogId = blogId;
    }

    public int getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(int commentNum) {
        this.commentNum = commentNum;
    }

    public String getCommentKey() {
        return commentKey;
    }

    public void setCommentKey(String commentKey) {
        this.commentKey = commentKey;
    }
}
